/** 
 * @copyright		all rights reserved.
 * @author			how_fly@yahoo.com
 * @brief			read the configure to g_conf
 * 
 * @version			1.0
 * @date
 * 
 * 
 */


#ifndef _CONF_H_
#define _CONF_H_
#include "myxml/read_conf.h"

extern configure g_conf;
/**
 *  @brief 	read the configure	
 *  @param [in]configure 
 *  @return int: 0 is good, -1 is error.
 */ 
int init_conf(configure& conf);

#endif
